<?php

	$cachename="num";
	$num=getCache($cachename);
	function getCache($cachename){
		$obj = json_decode(file_get_contents($cachename),true); 
		return $obj['value'];
	}
?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>使命召唤，速来汇合！</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
		<link rel="stylesheet" href="/css/font.css" />
		<link rel="stylesheet" href="/css/fx.css" />
		<script type="text/javascript" charset="utf-8" src="js/jquery.min.js" ></script>	
		<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<script src="http://api.weixinzjit.com/api/www/js/wx_jsapi_v_1.0.js"></script>	
	</head>
	<body unselectable="on" onselectstart="return false;" style="-moz-user-select:none;">
	<div class="bg">	
		<i class="font2"><b><?php echo $num ?></b> <span>名特工</span></i>	
		<div class="font"></div>
		
		<div class="go" ></div>
		<p class="font1">立刻加入</p>
	</div>
	<audio  id="bg_mp3" src="img/bg.mp3" style="opacity: 0;" ></audio>
	</body>

	<script type="text/javascript">
	$(function() {
		
		$('.go').on('touchstart',function(){
			
			location.href ="http://"+window.location.host;
		});
		document.addEventListener('touchstart',function(e){
			e.preventDefault();
			return false;
		});
	var ApiList = [

	'onVoicePlayEnd', //播放完毕
	'playVoice'//播放
];
var CallbackList = function() {
	document.getElementById('bg_mp3').play();
}
	ZJWX(ApiList, CallbackList, false);
		
		});
</script>

</html>
